#include "BridgeCpp.h"
#include "Finder/PathFinder.h"
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char* argv[]) {
	printf("Hello mother fucker ! \n");
	char str[] = "../res/space/WZY_01a/level.bin";
	dtNavMesh* navmesh = GetNavMesh(str);
	if (navmesh == NULL) {
		return 0;
	}
	PathFinder* finder = GetFinder(navmesh);
	float a = 103.899994, b = 17.299999, c = -130.899994;
	float d = -2.000000, e = 12.570000, f = -279.699982;
	finder->Find(a,b , c, d, e, f);
	if (finder == NULL) {
		return 0;
	}
	int count = 0;
	float* paths = GetPath(finder, &count);
	printf("count = %d! \n",count);
	system("pause");
	return 0;
}